﻿using System;
using System.Collections.Generic;
using System.Text;
using Meqs.Entity;
using System.Collections;

namespace Meqs.Logic.Interface
{
    public interface IClassEvalCatchLogic : ICommonLogic<ClassEvalCatch, int>
    {
        /// <summary>
        /// 插入记录
        /// </summary>
        int InsertClassEvalCatch(ClassEvalCatch cpc, string schoolMark);

        /// <summary>
        /// 删除缓存表中对应单据及学生的记录
        /// </summary>
        int DeleteClassEvalCatch(int classID, int recordID, string schoolMark);

        /// <summary>
        /// 获取评估分数
        /// </summary>
        /// <param name="th"></param>
        /// <returns></returns>
        IList<UserProjectScore> FindKeyWordUserScore(Hashtable th);


        /// <summary>
        /// 类别信息
        /// </summary>
        /// <param name="th"></param>
        /// <returns></returns>

        IList<ClassEvalType> FindKeyWordTypeInfo(Hashtable th);

        /// <summary>
        /// 题目信息
        /// </summary>
        /// <param name="th"></param>
        /// <returns></returns>
        IList<ClassEvalItem> FindKeyWordItemInfo(Hashtable th);

        /// <summary>
        /// 获取月份评估信息
        /// </summary>
        /// <returns></returns>
        IList<UserProjectScore> FindKeyWordMonthInfo(Hashtable ht);

        IList<YearAndMonth> FindKeyWordYearMonth(Hashtable ht);


        IList<UserProjectScore> FindKeyWordMonthItemInfo(Hashtable ht);
        IList<UserProjectScore> FindKeyWordTermItemInfo(Hashtable ht);
    }
}
